package com.shanzmoo.db.stm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shanzmoo.base.bean.SResponse;
import com.shanzmoo.db.stm.entity.query.StmSysMenuQuery;
import com.shanzmoo.db.stm.entity.vo.StmSysMenuVO;
import com.shanzmoo.db.stm.entity.StmSysMenuEntity;
import com.shanzmoo.db.sys.entity.vo.MenuTreeVo;
import com.shanzmoo.db.sys.entity.vo.MenuVo;

import java.util.List;

/**
 * 仓储用户系统菜单 服务类
 *
 * @author Gzhao 2021-03-10
 */
public interface IStmSysMenuService extends IService<StmSysMenuEntity> {

    List<StmSysMenuVO> queryPageList(StmSysMenuQuery query);

    SResponse<Boolean> deleteById(Integer id, Integer userId);

    SResponse<List<MenuVo>> getAllTree();

    SResponse<List<MenuTreeVo>> getBriefTree();

    List<StmSysMenuEntity> getListByUserId(Integer memberId);
}
